<template>
    <el-button v-bind="$attrs.data.extra"> 我是按钮 </el-button>
</template>

<script>
export default {
    name: 'my-button',
    props: ['keyName'],
    data() {
        return {
        }
    },
    mounted() {
        console.log('attrs', this)
    }
}
</script>

<style></style>